﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="SGDemo.Web.Home" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Styles/Common/base.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            
        });

        var doOpen = function (type) {
            if (type == 1) {
                var url = 'Views/OA/Common/NewsList.aspx'
                parent.navTab.openTab(url, url, { title: '新闻概览', fresh: false, external: true, data: {} });
            } else if (type == 2) {
                url = 'Views/OA/Common/AreaList.aspx'
                parent.navTab.openTab(url, url, { title: '地区概览', fresh: false, external: true, data: {} });
            } else if (type == 3) {
                url = 'Views/OA/Common/CustomerItem.aspx';
                parent.navTab.openTab(url, url, { title: '客户明细', fresh: false, external: true, data: {} });
            }
        }
    </script>
    <style type="text/css">
        p { line-height:20px; line-height:20px; margin-bottom:10px; font-size:14x; }
        a:link { line-height:20px; line-height:20px; font-size:16x; color:Black; }
        a:visited { line-height:20px; line-height:20px; font-size:16x; color: Black; }
        a:hover { color:Red; }
        h1 { font-size:18px; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding:20px 100px;">
        <p>
            <h1>示例</h1>
        </p>
        <p>
            <a href="javascript:doOpen(1)">1、普通概览页面</a>
        </p>
        <p>
            <a href="javascript:doOpen(2)">2、带树形概览页面</a>
        </p>
        <p>
            <a href="javascript:doOpen(3)">3、带从表明细页面</a>
        </p>
    </div>
    </form>
</body>
</html>
